home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 23
/
Amiga Format AFCD23 (Feb 1998, Issue 107).iso
/
-seriously_amiga-
/
shareware
/
graphics
/
sviewng
/
arexx-scripts
/
setsvoperator.rx
< prev
next >
Wrap
Text File
|
1997-12-01
|
901b
|
52 lines
/*
$VER: SetSVOperator.rx V6.21 (17.3.97)
© 1993-97 by Andreas R. Kleinert
This script demonstrates how to modify the default SVOperator
settings without using the GUI, but SViewNG's ARexxPort.
The resulting changes will also appear on SViewNG's GUI,
if already open.
*/
address command
SViewNG "-INSTALL_APPMENU=FALSE -INSTALL_APPICON=FALSE"
say ""
say "ARexx: SViewNG has been started : Waiting a moment..."
wait 5
OPTIONS RESULTS
SIGNAL ON ERROR
SVNGPORT = 'SViewNG.rx'
SVPORT = 'SuperView.rx'
IF ~SHOW('P',SVPORT) THEN SVPORT = SVNGPORT
IF ~SHOW('P',SVPORT) THEN DO
say "Could not locate ARexx port of SViewNG !"
CALL ErrorOut 0
END
ADDRESS VALUE SVPORT
'SVOPERATOR=HilbertDither256'
address command wait 5
'SVOPERATOR=XOR'
CALL ErrorOut 0
/* Errorout procedure ----------------------- */
ErrorOut:
PARSE ARG ExitCode
EXIT ExitCode
END